//
//  testViewController.swift
//  CustomWeiBo
//
//  Created by laiqiang on 21/5/10.
//  Copyright © 2021年 laiqiang. All rights reserved.
//

import UIKit

class testViewController: WBBasController {

    override func viewDidLoad() {
        super.viewDidLoad()

        
        
        
        
        
        
    }

    
    @objc func showNext(){
        let live = testViewController()

        navigationController?.pushViewController(live, animated: true)
    
    }
    
}

extension testViewController {

    
    override func setupTableView() {
        super.setupTableView()
        
        //无法高亮
        //        navigationItem.rightBarButtonItem = UIBarButtonItem(title: "下一个", style: .plain, target: self, action: #selector(showNext))
        
        navItem.rightBarButtonItem = UIBarButtonItem.init(title: "下一个", targe: self, action: #selector(showNext))
        
    }
}
